package com.sky.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DocumentVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String title;
    private String fileName;
    private Long fileSize;
    private String fileType;
    private String category;
    private String uploaderName;
    private String uploaderType;
    private LocalDateTime uploadTime;
    private Integer downloadCount;
    private Integer printCount;
    private String isPublic; // private/pending_review/public
    private String status;
    
    // 保留原有字段以保持兼容性
    private String filePath;
    private Integer uploadBy;
}